#!/usr/bin/env python3
#--------------------#
# AboutDialog dialog #
#--------------------#
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
from gi.repository import GdkPixbuf

class AboutDialog(Gtk.AboutDialog):
    def __init__(self):
        logo = GdkPixbuf.Pixbuf.new_from_file_at_size("/usr/share/simple-notifier/icons/logo.png", 64, 64)

        Gtk.AboutDialog.__init__(self)
        self.set_comments("PCLinuxOS Community Development")
        self.set_icon_from_file('/usr/share/simple-notifier/icons/simple-notifier.png')
        self.set_version("Version 0.3.8")
        self.set_website("http://www.pclinuxos.com/")
        self.set_authors(["Community Member Upgreyed Since 2006\nThis program is free software; you can redistribute\nit and/or modify it under the terms of the GNU\nGeneral Public License"])
        self.set_logo(logo)
        self.connect("response", self.on_response)

    def on_response(self, dialog, response):
        self.destroy()

aboutdialog = AboutDialog()
aboutdialog.run()






